package com.ipzoe.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ipzoe.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 热门城市对象 base_hot_city
 * 
 * @author eric
 * @date 2020-08-29
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("base_hot_city")
public class HotCity implements Serializable {

private static final long serialVersionUID=1L;

public static final String COLUMN_ORDER_NUM = "order_num";

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** $column.columnComment */
    private Long regionId;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String name;

    /** 排序，越小越前 */
    @Excel(name = "排序，越小越前")
    private Integer orderNum;

    /** $column.columnComment */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** $column.columnComment */
    private String createBy;
}
